<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>demo</title>
    <link rel="stylesheet" href="../static/css/public.css">
    <link rel="stylesheet" href="../static/css/element-ui.css">

    <script src="../static/js/vue.js"></script>
    <script src="../static/js/axios.min.js"></script>
    <script src="../static/js/element-ui.js"></script>
    <style>
        .header {background-color: #f5f5f5;padding: 20px;}
        .header a {padding: 0 20px;}
        .container {padding: 20px;margin:20px auto;}
        .footer {height: 40px;background-color: #f5f5f5;border-top: 1px solid #ddd;padding: 20px;}
    </style>

</head>
<body>
<header class="header">
    <div>
        <a href="/index/index">首页</a>
        <a href="/content/list">内容管理</a>
        <a href="/user/list">用户管理</a>
    </div>
</header>

<div class="container" th:include="::content">页面正文内容</div>

<footer class="footer">
    <div>
        <p style="float: left">&copy; cnspt.top 2021</p>
        <p style="float: right">
            Powered by lv
        </p>
    </div>
</footer>
</body>